package com.aspose.cells;

class zble extends zcj {
   zble(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g();
      float var4 = var1.h();
      float var5 = var1.i();
      com.aspose.cells.b.a.b.zo[] var6 = new com.aspose.cells.b.a.b.zo[4];
      float var7 = 0.0F;
      if (this.e.l.a.size() > 0) {
         var7 = var1.h() * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
      } else {
         var7 = var1.h() * 0.2549537F;
      }

      switch(this.e.a) {
      case 1:
      case 4:
         var6[0] = new com.aspose.cells.b.a.b.zo(var2, var3);
         var6[1] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3);
         var6[2] = new com.aspose.cells.b.a.b.zo(var2 + var4 - var7, var3 + var5);
         var6[3] = new com.aspose.cells.b.a.b.zo(var2 + var7, var3 + var5);
         break;
      case 2:
      case 3:
         var6[0] = new com.aspose.cells.b.a.b.zo(var2 + var7, var3);
         var6[1] = new com.aspose.cells.b.a.b.zo(var2 + var4 - var7, var3);
         var6[2] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + var5);
         var6[3] = new com.aspose.cells.b.a.b.zo(var2, var3 + var5);
      }

      com.aspose.cells.b.a.b.a.ze var8 = new com.aspose.cells.b.a.b.a.ze();
      var8.b(var6);
      return var8;
   }
}
